/**
 * Project Name:dsrs-systemservice-dao
 * File Name:DatadicTypeMapper.java
 * Package Name:com.bwda.dsrs.systemservice.mapper;
 * Date:2019年4月28日
 * Copyright (c) 2019, 江苏保旺达软件有限公司 All Rights Reserved.
 *
 */
package com.bwda.dsrs.systemservice.mapper;

import com.bwda.dsrs.systemservice.domain.po.datadictype.DatadicTypePo;
import com.bwda.dsrs.systemservice.domain.condition.datadictype.DatadicTypeCondition;

/**
 * 数据字典
 *
 * @author liangjianyong
 * @date 2019/4/27
 */
public interface DatadicTypeMapper extends BaseMapper<DatadicTypePo, DatadicTypeCondition> {

	/**
	 * 查询当前排序的最大值
	 * @return
	 */
	Integer selectMaxOrderNum();


	/**
	 * 查询重复的编码和名称
	 * @param condition
	 * @return
	 */
	int countByCodeorName(DatadicTypeCondition condition);

}